<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 	xmlns="http://www.w3.org/1999/xhtml"
		xmlns:p="http://primefaces.prime.com.tr/ui">
<body>
	<div class="ui-widget ui-widget-header">
		<div id="logo"><h1>DOMOTIC CONTROL SYSTEM</h1><div>Link</div></div>
	</div>
	<p:menubar autoSubmenuDisplay="true">
		
	
	
		<p:menuitem value="Home" url="/home.jsf" icon="ui-icon ui-icon-home" />
		<p:submenu label="Residência">
			<p:menuitem value="Nova Residência" action="#{menuController.homeInsert}" ajax="false" icon="ui-icon ui-icon-disk" immediate="true" />
			<p:menuitem value="Consultar Residência" action="#{menuController.homeSearch}" ajax="false" icon="ui-icon ui-icon-search" immediate="true" />
			<p:menuitem value="Lista Todas" action="#{menuController.homeList}" ajax="false" icon="ui-icon ui-icon-search" immediate="true" />
		</p:submenu>
		
		
		<p:menuitem value="Res Action" action="#{menuController.homeInsert}" ajax="false" icon="ui-icon ui-icon-home" immediate="true" />
		<p:menuitem value="Residência" url="/domotic/residencia.jsf" icon="ui-icon ui-icon-home" />
		<p:menuitem value="Andar" url="/domotic/andar.jsf" icon="ui-icon ui-icon-home" />
		<p:menuitem value="Cômodo" url="/domotic/comodo.jsf" icon="ui-icon ui-icon-home" />
		<p:menuitem value="Ação" url="/domotic/acao.jsf" icon="ui-icon ui-icon-home" />
		
		
		
		
		
		
		
		
	</p:menubar>
	<div style="min-height: 6px;" />
</body>
</html>